package com.meilai.project.dto.finance.supplier;

import com.meilai.project.entity.finance.supplier.SupplierMaterial;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @author 张驰
 * @description 计算材质总价结果
 * @date 2022-08-18 13:28
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel
public class SupplierMaterialCalDTO extends SupplierMaterial {
    @ApiModelProperty(value = "确认表id，对应bill_ad_make_supplier_confirm的id")
    private Long confirm_id;

    @ApiModelProperty(value = "尺寸，宽")
    private String size_width;

    @ApiModelProperty(value = "尺寸，高")
    private String size_height;

    @ApiModelProperty(value = "数量")
    private Integer num;

    @ApiModelProperty(value = "总价")
    private BigDecimal total = new BigDecimal("0");
}
